package com.example.voice.vo;

import lombok.Data;
import java.time.LocalDateTime;

/**
 * 任务进度消息VO
 * @author crp
 * @since 2025-01-26
 */
@Data
public class TaskProgressMessage {
    
    private String type;
    private String taskId;
    private TaskProgressData data;
    
    @Data
    public static class TaskProgressData {
        private String status;
        private Integer progress;
        private String currentStep;
        private String message;
        private String recognizedText;
        private String aiReply;
        private String voiceUrl;
        private String userVoiceUrl;  // 新增：用户语音文件URL
        private Long conversationId;  // 新增：会话ID
        private Long fileSize;
        private Double duration;
        private String errorCode;
        private String errorMessage;
        private LocalDateTime timestamp;
    }
}
